Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 5 - Menu Manager Reference / Menu Manager Functions
Manipulating and Accessing Menu Item Characteristics /


SetMenuItemFontID

NEW WITH THE APPEARANCE MANAGER

Sets the font for a menu item.

pascal OSErr SetMenuItemFontID (
                     MenuHandle inMenu,
                     SInt16 inItem,
                     SInt16 inFontID);
inMenu
The handle to the menu structure of the menu item for which you wish to set the font.
inItem
An integer representing the item number of the menu item for which you wish to set the font.
inFontID
An integer representing the font ID that you wish to set.
function result
A result code; see "Result Codes".
DISCUSSION
The SetMenuItemFontID function enables you to set up a font menu with each item being drawn in the actual font.

SEE ALSO
"Appearance Manager Gestalt Selector Constants".

GetMenuItemFontID.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998